package cn.lyd.pet.mapper;

import cn.lyd.pet.domain.PetDetail;
import cn.lyd.base.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lyd
 * @since 2023-01-08
 */
public interface PetDetailMapper extends BaseMapper<PetDetail> {

    //删除宠物  通过宠物id
    void deleteByPetId(Long petId);

    //通过宠物id查找
    PetDetail findByPetId(Long id);
}
